package scauCmiScaffolding.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;

public class _jet_domain_1 implements JET2Template {
    private static final String _jetns_c = "org.eclipse.jet.controlTags"; //$NON-NLS-1$
    private static final String _jetns_java = "org.eclipse.jet.javaTags"; //$NON-NLS-1$

    public _jet_domain_1() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_c_get_1_21 = new TagInfo("c:get", //$NON-NLS-1$
            1, 21,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "$projectName", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_importsLocation_2_1 = new TagInfo("java:importsLocation", //$NON-NLS-1$
            2, 1,
            new String[] {
                "package", //$NON-NLS-1$
            },
            new String[] {
                "*", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_format_6_1 = new TagInfo("java:format", //$NON-NLS-1$
            6, 1,
            new String[] {
            },
            new String[] {
            } );
    private static final TagInfo _td_c_get_8_14 = new TagInfo("c:get", //$NON-NLS-1$
            8, 14,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "uppercaseFirst($eachTable/@name)", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_10_1 = new TagInfo("c:include", //$NON-NLS-1$
            10, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/java/domain/fieldAndroid.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_12_1 = new TagInfo("c:include", //$NON-NLS-1$
            12, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/java/domain/getAndSetAndroid.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_14_1 = new TagInfo("c:include", //$NON-NLS-1$
            14, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/java/domain/copyAndroid.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_16_1 = new TagInfo("c:include", //$NON-NLS-1$
            16, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/java/domain/toString.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_18_1 = new TagInfo("c:include", //$NON-NLS-1$
            18, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/java/domain/hashCode.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_20_1 = new TagInfo("c:include", //$NON-NLS-1$
            20, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/java/domain/equals.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_include_22_1 = new TagInfo("c:include", //$NON-NLS-1$
            22, 1,
            new String[] {
                "template", //$NON-NLS-1$
            },
            new String[] {
                "templates/content/{$framework}/java/domain/checkPropertyEqual.jet", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        out.write("package com.example.");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_1_21 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_1_21); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_1_21.setRuntimeParent(null);
        _jettag_c_get_1_21.setTagInfo(_td_c_get_1_21);
        _jettag_c_get_1_21.doStart(context, out);
        _jettag_c_get_1_21.doEnd();
        out.write("_app.domain;");  //$NON-NLS-1$        
        out.write(NL);         
        RuntimeTagElement _jettag_java_importsLocation_2_1 = context.getTagFactory().createRuntimeTag(_jetns_java, "importsLocation", "java:importsLocation", _td_java_importsLocation_2_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_java_importsLocation_2_1.setRuntimeParent(null);
        _jettag_java_importsLocation_2_1.setTagInfo(_td_java_importsLocation_2_1);
        _jettag_java_importsLocation_2_1.doStart(context, out);
        _jettag_java_importsLocation_2_1.doEnd();
        out.write(NL);         
        out.write("import java.io.Serializable;");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("import java.util.Set;");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("import java.util.HashSet;");  //$NON-NLS-1$        
        out.write(NL);         
        RuntimeTagElement _jettag_java_format_6_1 = context.getTagFactory().createRuntimeTag(_jetns_java, "format", "java:format", _td_java_format_6_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_java_format_6_1.setRuntimeParent(null);
        _jettag_java_format_6_1.setTagInfo(_td_java_format_6_1);
        _jettag_java_format_6_1.doStart(context, out);
        JET2Writer _jettag_java_format_6_1_saved_out = out;
        while (_jettag_java_format_6_1.okToProcessBody()) {
            out = out.newNestedContentWriter();
            out.write(NL);         
            out.write(NL);         
            out.write("public class ");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_c_get_8_14 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_8_14); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_get_8_14.setRuntimeParent(_jettag_java_format_6_1);
            _jettag_c_get_8_14.setTagInfo(_td_c_get_8_14);
            _jettag_c_get_8_14.doStart(context, out);
            _jettag_c_get_8_14.doEnd();
            out.write(" implements Serializable {");  //$NON-NLS-1$        
            out.write(NL);         
            out.write(NL);         
            RuntimeTagElement _jettag_c_include_10_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_10_1); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_include_10_1.setRuntimeParent(_jettag_java_format_6_1);
            _jettag_c_include_10_1.setTagInfo(_td_c_include_10_1);
            _jettag_c_include_10_1.doStart(context, out);
            _jettag_c_include_10_1.doEnd();
            out.write(NL);         
            RuntimeTagElement _jettag_c_include_12_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_12_1); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_include_12_1.setRuntimeParent(_jettag_java_format_6_1);
            _jettag_c_include_12_1.setTagInfo(_td_c_include_12_1);
            _jettag_c_include_12_1.doStart(context, out);
            _jettag_c_include_12_1.doEnd();
            out.write(NL);         
            RuntimeTagElement _jettag_c_include_14_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_14_1); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_include_14_1.setRuntimeParent(_jettag_java_format_6_1);
            _jettag_c_include_14_1.setTagInfo(_td_c_include_14_1);
            _jettag_c_include_14_1.doStart(context, out);
            _jettag_c_include_14_1.doEnd();
            out.write(NL);         
            RuntimeTagElement _jettag_c_include_16_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_16_1); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_include_16_1.setRuntimeParent(_jettag_java_format_6_1);
            _jettag_c_include_16_1.setTagInfo(_td_c_include_16_1);
            _jettag_c_include_16_1.doStart(context, out);
            _jettag_c_include_16_1.doEnd();
            out.write(NL);         
            RuntimeTagElement _jettag_c_include_18_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_18_1); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_include_18_1.setRuntimeParent(_jettag_java_format_6_1);
            _jettag_c_include_18_1.setTagInfo(_td_c_include_18_1);
            _jettag_c_include_18_1.doStart(context, out);
            _jettag_c_include_18_1.doEnd();
            out.write(NL);         
            RuntimeTagElement _jettag_c_include_20_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_20_1); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_include_20_1.setRuntimeParent(_jettag_java_format_6_1);
            _jettag_c_include_20_1.setTagInfo(_td_c_include_20_1);
            _jettag_c_include_20_1.doStart(context, out);
            _jettag_c_include_20_1.doEnd();
            out.write(NL);         
            RuntimeTagElement _jettag_c_include_22_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "include", "c:include", _td_c_include_22_1); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_include_22_1.setRuntimeParent(_jettag_java_format_6_1);
            _jettag_c_include_22_1.setTagInfo(_td_c_include_22_1);
            _jettag_c_include_22_1.doStart(context, out);
            _jettag_c_include_22_1.doEnd();
            out.write("}");  //$NON-NLS-1$        
            out.write(NL);         
            _jettag_java_format_6_1.handleBodyContent(out);
        }
        out = _jettag_java_format_6_1_saved_out;
        _jettag_java_format_6_1.doEnd();
    }
}
